It's called "swatting" because it started off with racists making anonymous calls to police departments reporting threats that cause the departments to send out their S.W.A.T. teams in response and people ended up getting shot by accident as a result.
If you notice, all of this infactuation with calling the police for any and every little minor thing actualy started AFTER the rash of police killings that were caught on video a few years ago.
In the mind of an ignorant racist who wants to hurt or kill a Black person but either isn't courageous enough to do so or perhaps still has a bit of morality preventing them on acting.....they figure a good strategy would be to "trick" or "egg on" the police to do so.
If the police were punishing these people, fining them, and berating them for calling them for any minor thing instead of automatically taking their side.....it would end immediately.