Despawning. As of 1.16, fish can despawn at range of 40 blocks or more from the player, and will instantly despawn more than 64 blocks away, except when spawned using a bucket of fish. ↑ "[MC-244683] Tropical fish spawn in bubble columns (fixed in 22w07a) - Jira" – Mojira.