Probably best to convert Ubuntu install to BIOS boot.
But since hardware is UEFI, why is not Windows in newer UEFI boot mode?
Microsoft has required vendors to install Windows in UEFI/gpt mode...