Minecraft wiki entry for Pufferfish, associated text: Pufferfish also instantly inflate to their fullest form after taking any kind of damage.‌[Bedrock Edition only] After inflating, they slowly deflate to their normal shape as long as a threat is out of range. If the player/mob leaves the radius while pufferfish is in its semi-puffed stage, it deflates back to normal.