Sleep keeps memory powered while switching almost everything else off. Waking means bringing the display, drives and network back in the right order, and any one of them can fail to answer.
The most common outcome is a machine that is actually running — fans audible, keyboard lights on — with a display that never woke. That is a graphics resume failure, not a crash.
Deeper sleep states save more power and are harder to resume from, which is why the problem often appears only after the laptop has been closed for hours rather than minutes.
External devices complicate resume. A dock, a monitor or a USB drive connected during sleep changes what the system must reinitialise on wake.