For quite some time, users have been reporting an inconsistent bug in Windows 10 that prevents them from changing the default program that are associated with a file type. […]

from https://www.bleepingcomputer.com/news/microsoft/erratic-windows-10-bug-breaks-changing-of-default-file-associations/