Agreed, police officers should rarely be shooting anyone. And certainly not those who are merely trespassing.
There are plenty of options for stopping a person going into a place, that don't involve executing or seriously wounding them. It should be a grave concern for every citizen that the police generally have so few qualms about firing their guns at people.
The police should have attempted to deescalate this situation with a minimum of violence - not the maximum.