First, the Quora question:
https://www.quora.com/Why-is-a-sidereal-day-and-month-shorter-than-a-synodic-day-and-month-and-a-sidereal-year-longer-than-a-synodic-year
Now, the animation (skip the question, if you like, and just look at the animation):
https://www.sumanasinc.com/webcontent/animations/content/sidereal.html