Why does $\ce{MgCl2.8H2O}$ undergoes internal hydrolysis? $$\ce{MgCl2.8H2O(s) ->[\Delta]MgO(s) + H2O + HCl}$$
while Calcium, Strontium, and barium undergoes dehydration and form anhydrous chloride. $$\ce{MCl2.xH2O ->[\Delta] MCl2 + xH2O (M = Ca/Sr/Ba)}$$
Even though unlike $\ce{BeCl2}$, all of them have same ionic nature. I didn't find much data on it and what I did find went over my head. Any help would be appreciated. Thanks!