Right, so this isn’t about CTD’s, where the simulator itself has crashed, rather the plane you are flying.
If you look at the bottom left of the MFD, you can see one of your fuel tanks is close to being drained, the left tank. I suspect you ran out of fuel because you didn’t switch fuel tanks, and crashed. There is always a small amount unusable fuel in each tank, so the engine can still cut out if you have fuel in the tank. The amount you cannot use will differ from plane to plane.