Does shooting people make them dislike me?
Yes, you'll lose some friendship, but not a lot.
Each heart level is 250 friendship points.
Shooting someone takes away 30 friendship points, or 12% of a heart level.
(Source: Snooping in the source code with a decompiler)
Yes, hitting people with rocks will, not surprisingly, make them dislike you.