It should be noted that the process of adding water to acid, and the process of adding acid to water, are both exothermic. Because a lot of heat is released during this. And hence it is told not to add water to acid since it may lead to an explosion.
Hope this helps :)