JavaIntroduced in 1.17. The Java 1.18 changelog places its spawning below Y 30, and 1.21.2 added the baby form.
BedrockMaximum health: 10 HPIntroduced in 1.17.0. The adult table rolls one to three glow ink sacs before Looting. Baby glow squid stopped dropping items in 26.0.
Look for glow squid in dark underwater areas such as flooded caves and underwater ravines. Java's original release notes describe dark underground water, and Java 1.18 restricts spawning to water below Y 30. Mojang's Bedrock spawn file specifies underground, underwater locations from Y −64 to 30 and groups of two to four. Mojang's glow squid profile · Java 1.17 release notes · Java 1.18 release notes · Bedrock spawn rules
Mojang's Java release notes confirm glow ink sacs as death loot. Bedrock's adult table rolls one to three glow ink sacs before Looting. Its item roll has no player-kill condition or fire conversion. The Bedrock definition gives adults 1–3 XP on a player kill, and the Bedrock 26.0 release removed item drops from baby glow squid. Java 1.17 release notes · Bedrock death loot table · Bedrock entity definition · Bedrock 26.0 release notes