The fruits are capsules.
When it is dry the little teeth of the capsule opens. So the seeds can get out.