KSP has what players call “the Kraken” where the game engine sometimes bugs out and causes your vehicle to spin out of control and/or explode for no apparent reason. It happens more with really big vessels and complex missions. But yeah it’s not bug-free and you’ll want to quicksave often so you don’t lose hours of work.