Dear Student,
The dissociation of acid is a highly exothermic reaction. When acid is slowly added to water, the heat produced is absorbed by the water. But if water is added to the acid, the high amount of heat produced may lead to splashing of water. Thus, when diluting, the acid is always added to the water and not vice-versa.
Regards