The text is a play on the common expression of someone being so sad or unattractive that they could make an onion cry, which is a twist on the fact that usually onions make people cry when they are cut. It relies on the reversal of the expected outcome of interaction with an onion for humorous effect, not on different meanings of a word or similar-sounding words.
Yo mama ' s so ugly , she made an onion cry .