It seems that your shampoo bottle was half full so according to the laws of physics it landed with the heavy, full end down, resulting in an upright position. Nothing unusual about that.
The same would be true for your roll-on deodorant. The liquid would be at the bottom of the container and...