Hello everyone, I was able to finally solve my issue. It seems the problem was with the intel optane drive that was installed on my motherboard. The optane was still trying to work with my ssd, and I'm pretty sure it was missing the required optane drivers since I formatted my ssd. After going into the UEFI settings I disabled optane and changed the sata setting back to default. Windows installed successfully after all that.