Pretty much this and it's been so since the 60s. Anyone looking for coherent timeline of events with no contradictions are in the wrong show.
Doctor who has from day 1 been basically a kids scifi fantasy with a kind of moral undertone. Where lore has always been messy and everyone forgets about alien invasions on earth the minute after it has ended.