Keeping this in view, why was Prince Philip not king?
It also means titles bear different significance. While wives of Kings become Queens, more typically fully known as Queen Consorts, men married to Queens are not King Consorts. While Queen can mean 'wife of a monarch', King never means 'husband of a monarch' and so it implies ruler, which Philip is not.
Also, who becomes Duke of Edinburgh after Philip? It was then decided that Prince Edward will inherit his father Prince Philip's Duke of Edinburgh title following his death. This means that Sophie, Countess of Wessex will become Sophie, Duchess of Edinburgh.
Similarly, you may ask, why was the Duke of Edinburgh exiled?
In 1913, his father was assassinated and Andrew's elder brother, Constantine, became king. The people's dissatisfaction with the king's neutrality policy during World War I led to his abdication, and most of the royal family, including Andrew, was exiled.
Will Camilla be queen if Charles dies?
Although technically Camilla should be Queen Consort when Charles succeeds his mother and becomes King, the couple have decided against that title. Clarence House has previously confirmed that Camilla will not take on the title of Queen Consort and instead will be known as Princess Consort.