There are times when he will shrink like the pics on purpose. Mine looks like that when feeding, but back in an hour, and never leaves his spot. Mine looks like that when expelling stuff, but back in a few hours.
If he stays like that, then you likely have a water chemistry issue.
Would need more info on history to diagnos.