I think they learned it as kids. When my kids were small as soon as the phone rang it was their cue to start a tantrum or needing my undivided attention. I didn't get much sewing done unless they were at school or asleep.
Dh does the same thing to me.