Just like gender, social constructs, were applied to plants by early botanists. Marriage, nuptials, husband, and wife were all applied to plants to convey behavior associated with reproduction (as you noted "mating").
But plants weren't getting married, getting their nails done, lifting weights, etc