Sentence1: I once had a parrot. Sentence2: I had a habit of swearing in the absence of my parents. Sentence3: One day my dad told me he had a question for me. Sentence4: He asked where I picked up such foul language.
The bird had been repeating my recently learned swear words.