Crocodiles are, often large, apex predators that occasionally prey on humans. Due to the natural human arrogance that people carry from being, most of the time, apex predators, and from ignorance about what the animals can actually do, they catastrophize whenever a human is attacked. Through irrational fear, they anthropomorphise the 'rogue' animal into some kind of monster.
For those with irrational and unnecessary fears of crocodiles you are wasting your energy. I survived living and working in some of the highest density crocodile habitat for 25 plus years. In the wet season, that included commuting daily to and from work in a ten foot tinny, in daylight and dark, through known crocodile habitat. I was always wary and didn't take unnecessary risks. If you intend to enter crocodile habitat, educate yourself.