I entirely avoided this issue ever since I started to mess with Linux with separate drives, and then brought in a litany of other issues by me whenever I wanted to wipe and reinstall windows or Linux.
I’ve never actually had this problem, but the issue is Windows will wipe your bootloader from the ESP, so it can’t do anything about it. You can use your bootloader of choice to fix it, but you’d have to chroot from a live image.
Source: I accidentally deleted the wrong EFI partition