What you have where is irrelevant, even the most reliable of partition managers can have errors and can destroy your partition tables. I know I've had this happen to me. Word to the wise, always backup your partition tables before you do any major renos.
Accidents happen whether it a human or a program making the decisions they both have bad days at times.
Rule 1.
Back up your data, always have backups, no ands, ifs or buts about it..
Unless you can physically disconnect your other drives during format operations data is always at risk.
This means you have booted in BIOS Legacy mode, not UEFI.
Make sure how is windows installed (what boot mode, UEFI or MSDOS/Legacy) and boot your installation USB in the same mode.
If Windows are on MSDOS Legacy mode, you don’t need an $esp partition (vfat).