Warmer water simply speeds up the growth cycle of any harmful bacteria or protozoans in the water or fish. If the water gets warm enough (30C or 86F) it will kill off some species of protozoan. But to kill most bacteria you need the temperature around 60C and that kills the fish.