Why Queen Elizabeth II’s husband called Prince Philip and not King Philip?

The law states that the firstborn of a monarch shall be anointed regardless of gender. However, the law is biased when it comes to the spouses of royalty.