Similarly, I don't understand why people answer the front door when they can hear or see (through peephole or Ring) that it's a stranger. I don't need your magazines, your house-painting services, your church, or whatever else. If you're lost and looking for your friend's house you're supposed to be at, sorry I'm not gonna be able to help you anyway.
I recently had to leave my car parked in front of a stranger's house, so I rang the doorbell to let them know, but they didn't answer even though they were clearly home. Capitalism might be great and all, but door-to-door marketing and phone spamming have killed reasonable methods of communication.
I refuse to let these things die, so I still open the door if I don't know the person (I have a hotel-like door latch now to help prevent someone from kicking in the door or shooting an arrow at me). You just have to learn to be aggressive and say "I'm not interested" if it's a salesman or Jehovah's Witness.