A power surge will cause this problem, where your bios can be corrupted during an outage. It is rare but it can happen. That is why some people use UPS systems. When you booted up the computer, CMOS detected inconsistent bios from Bios A and Bios B. Basically the motherboard detected a check sum parity error. This causes the system to shut down. When you reverted to the backup bios, that fixed the problem.
A power surge is the likely culprit. Sometime this motherboard can tell you there is a problem and offer to copy bios B to bios A. And sometimes
the corrupted firmware is so messed up, you have to manually fix the problem.