Eggplants might stop fruiting if they are stressed. Its blossoms are going to dry out and drop off without producing any fruits. Another reason is if they are sensitive to temperature. Too hot might cause eggplants not to fruit.