US Marines are trained to make their bed with military speed and precision as the first thing they do each morning. If one can't do that little thing how can one accomplish everything else with military speed and precision for the rest of the day?
It makes more sense if you think of it in terms of identifying risk.
Rather than, "a marine who doesn't make their bed with precision is incapable of precision," think of it as "a marine who doesn't make their bed with precision is experiencing problems that could prevent them from acting with precision in more important situations."
That does sound plausible but I do know. When I come across suchlike justifications for petty rules, I rather tend to feel there's some kind of petty control frreakery behind it. Then again I have no military experience.
Requiring them to make their beds doesn't strike me as unreasonably petty, and to the extent that they do make soldier follow petty rules it's often done with a purpose, usually to install obedience. Not that there aren't lots of dicks in the military, but you shouldn't be so quick to dismiss the way organisations do things because often there's a good reason.