Windows' attempt at a clean File Explorer can cost you dearly.
Somewhere in your camera's menu system, buried three levels deep in a file settings submenu you've probably never explored, there's an option to change your default image format from JPEG to HEIF.