You are just NOT being mindful of your surroundings. It's a good feeling to be aware so you know the right thing to do.
Sometimes we learn best when we do something unwise & swear NEVER to do it again. It logs permanently in our minds a new more positive behavior.....though its just easier on everyone to be more aware in the first place, that doesn't always happen for any of us.
Live & learn