quite freaky to see
The cells inside them are all still intact. The biochemical machinery still functions. There is still a source of energy for the muscles in the form of unused ATP molecules stored in the cells. All that the muscles need is something to activate them and they can still contract and relax (until they run out of ATP or something else shuts down the biochemical machinery).