The vanilla behavior pack spawn_rules\tropical_fish.json gives tropical fish a surface density cap of 20 for underground spawns, which of course does nothing. As a result, tropical fish can fill the entire water_animal population cap and prevent axolotl spawns.
Related issues
relates to
Comments

Still not fixed in 1.19.60 due to MCPE-165963
still an issue in 1.19.51