Squids intends to kill their selfs by putting themselves on land. Like if two squids are together, one of them will push the other one on land causing that one to die in land.
Sometimes, well, most of the time, squid will swim on land making them kill themeselves.
I feel like this been a bug for a long time in Minecraft.
Environment
Windows 10 Home 64-bit
Chip type: Intel(R) HD Graphics
Processor: Intel(R) Pentium(R) CPU J2900 @ 2.41GHz (4 CPUs), ~2.4GHz
Memory: 4096MB RAM
Ram: 4Gg
Duplicate of MC-132473