Without pollinators, flowers would struggle to thrive since pollinators help with fertilization. It’s possible that the flowers had a selective pressure making them more likely to thrive when they were able to protect their pollinators from predators. (If the flower looks like them, the insects or birds are harder to see so they become harder to eat).