HETEROSTYLY AND COMPATIBILITY. “The lengths of stamens and pistils in heterostylous flowers are adapted for pollination by different pollinators, or different body parts of the same pollinator. Thus, pollen originating in a long stamen will reach primarily long rather than short pistils, and vice versa. When pollen is transferred between two flowers of the same morph, no fertilization will take place, because of the self-incompatibility mechanism.”
https://en.m.wikipedia.org/wiki/Heterostyly