She's actually related to the man she married.
Technically, Elizabeth and her husband Philip are third cousins. Elizabeth is related to Queen Victoria on her father's side, and Philip is related to Queen Victoria on his mother's side.
Philip was born into the royal families of Greece and Denmark, but renounced his original titles when he married Elizabeth. They've now been together for 69 years.