Because the queen was the heir, when the heir dies their spouse is out and it goes to the next heir. ** eta I can’t read Philip isn’t king because he can’t be higher up than the queen because she is the heir. Camilla won’t be because she is divorced (I think)