The important difference between the following two reactions is the nucleophile used in the reaction. Both reactions go through a very similar aziridinium intermediates, so the difference must be due to the regioselectivity with which the three-membered ring opens in each case.
Click the the nucleophiles below to view each 3D animation respectively..
Hydroxide nucleophile
Water nucleophile