Police entering someone’s home are going to have to be prepared even if there was a very low chance of encountering someone with a gun. If you’re going into a house and you don’t know where someone is, pretty much any kind of lethal weapon is going to be a serious risk. If they weren’t risking being shot, they’d be risking being stabbed.