Explanation
This idiom comes from a fairy tale where a beautiful woman is paired with an ugly or beastly man.
It refers to an odd couple where one is attractive and the other is not.
Example: Their relationship is like beauty and the beast — she's stunning, he's not so much.