The elephant has a greater weight than a mouse, but the material that makes their bones is the same. This means that in order to sustain an elephant's weight, one's bones need to suffer less stress. Stress = Force/area. A greater cross-sectional area reduces stress on the bones. This is why an elephant's bones are thicker.