Maybe it's a SATA cable that has come loose, or perhaps it's a RAM stick that is not inserted correctly.
And sometimes, you build a PC and it just refuses to boot up at the first go. Maybe it's a SATA cable that has come loose, or perhaps it's a RAM stick that is not inserted correctly. So a bit of patience is required to troubleshoot the misbehaving PC.