I can answer the "why" of most of your rhetorical questions. They do all those things because they want to be near you on the off chance that you might make tasty treats materialize. You are a reliable food dispenser.
The poop on the patio is because there's something about clean walkways and...