because when u workout your muscles are more dense than fat
and then with more muscle ur body becomes more dense
and u loose height because u consolidate your body
this is for more efficient mode of life
ask darwin
evolution
science
ummm
thats why
and cuz weight should stay the same
if u gain or loose weight, then u not doing it right, need to stay in completely same weight