They aren't particularly hostile, they seem to just want to survive. There have been maybe a couple hundred reported coyote attacks in the past 50 years[0] compared to millions of dog-related attacks per year[1]. Of course, one would expect dog-related attacks to be more common because they interact with us more, so it's not quite a controlled comparison.
Why hate on coyotes? I guess it boils to how cute they are, unfortunately. I don't think we truly need them, and they aren't cute enough to keep around for most people. Perhaps if I raised a baby coyote, I would be very inclined to keep one as a pet.
[0] https://en.wikipedia.org/wiki/Coyote_attacks_on_humans
[1] https://en.wikipedia.org/wiki/Fatal_dog_attacks_in_the_Unite...