Usb booting into windows with ahci

Whenever I boot into my usb with ahci enabled I go into windows but when it’s something else it boots into the macOS installer but with none of my drives detected, what do I do?

Author: @Visual_Cheesecake186