I believe that Jane ignored him to keep playing with the dog.
What happened after Jane ignored him?
He said 'Whatever' and walked away.
Some people have multiple living beings to give attention to and it gets complicated. Rude people ignore other human beings, there should be an equal amount of attention spent on everyone involved. Pets should not be ignored, they would feel sad too.
I ignore animals if they ignore me.
Although it can be difficult to balance out the amount of attention you give others, it's best to avoid ignoring someone. This is hurtful and can damage relationships.