Why is Mars’ satellite Phobos approaching, while another Mars satellite, Deimos, is moving away from the planet?

The orbital period of Phobos around Mars (0.319 “) is less than the period of rotation of the planet (24.6”). As a result, the tidal ridges of Mars slow down the movement of Phobos. Another reason is its deceleration in the upper atmosphere due to the low altitude above the surface (only about 6000 km). The orbital period of Deimos (1.26d) is greater than the period of rotation of Mars. The tidal protrusions from this satellite, as in the case of the Moon, slow down the rotation of the planet and increase the satellite’s distance from it.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.