Conquest of Space

Mankind has achieved space flight capability and built "The Wheel" space station in orbit 1,075 miles above Earth. It is commanded by its designer, Colonel Samuel T. Merritt (Walter Brooke). His son, Captain Barney (Eric Fleming), having been aboard for a year, wants to return to Earth.
A giant spaceship has been built in a nearby orbit, and an Earth inspector arrives aboard the station with new orders: Merritt is being promoted to general and will command the new spaceship, now being sent to Mars instead of the Moon. As General Merritt considers his crew of three enlisted men and one officer, his close friend, Sgt. Mahoney (Mickey Shaughnessy) volunteers. The general turns him down for being 20 years too old. Hearing that Mars is the new destination, Barney Merritt volunteers to be the second officer.
Right after the crew watch a TV broadcast from their family and friends, the mission blasts off for the Red Planet. The general's undiagnosed and growing space fatigue is beginning to seriously affect his judgement: Reading his Bible frequently, he has doubts about the righteousness of the mission. After launch, Sgt. Mahoney is discovered to be a stowaway, having hidden in a crew spacesuit. Their piloting radar antenna later fails, and two crew go outside to make repairs. They manage to get it working just as their monitors show a glowing planetoid, 20 times larger than their spaceship, coming at them from astern. The general fires the engines, barely managing to avoid a collision. But the planetoid's fast-orbiting debris punctures Sgt. Fodor (Ross Martin)'s spacesuit, killing him instantly. After a religious service in space, Fodor's body is cast adrift into the void.
Eight months later, the general is becoming increasingly mentally unbalanced, focusing on Sgt. Fodor's loss as "God's judgement". On the Mars landing approach, he attempts to crash their spaceship, now convinced the mission violates the laws of God. Barney wrests control away from his father, landing the large flying wing glider-rocket safely. Later, as the crew takes their first steps on the Red Planet, they look up and see water pouring down from the now vertical return rocket. Barney quickly discovers the leak is sabotage caused by his father, who threatens his son with a .45 automatic. The two struggle and the pistol discharges, killing the general. Sgt. Mahoney, who observed only the last stages of the struggle, wants Barney confined under arrest with the threat of court-marshal, but cooler heads prevail; Barney becomes the ranking officer.
Mars proves to be inhospitable, and they struggle to survive with their decreased water supply. Earth's correct orbital position for a return trip is one year away. While glumly celebrating their first Christmas on Mars, a sudden snowstorm blows in, allowing them to replenish their water supply. As their launch window arrives, they hear low rumbling sounds, then see rocks falling, and feel the ground shake violently. The ground level shifts during this violent Marsquake. Their spaceship is now leaning at a precarious angle and can not make an emergency blastoff. To right the spaceship, the crew uses the rocket engines' powerful thrust to shift the ground under the landing legs. The attempt works and they blastoff, the spaceship rising just as the Martian surface completely collapses.
Once in space, Barney and Mahoney reconcile. Impressed with Barney's heroism and leadership while on Mars, Mahoney concludes that pursuing Barney's court-martial for his father's death would only impugn the general's reputation, tarnishing what previously had been a spotless military career. Better the fiction that "the man who conquered space" died in the line of duty, sacrificing himself to save his crew.

Question: Why is the spaceship leaning on an angle?
Answer: The ground level shifts during this violent Marsquake.