Heteromorphic flowers have short carpels and long stamens, or vice versa, so animal pollinators cannot easily transfer pollen to the pistil (receptive part of the carpel).
Why are a heteromorphic flower's carpels and stamens different lengths?
so animal pollinators cannot easily transfer pollen to the pistil