For me i think its the first one because Dorothy was insensitive to the feelings of his sister and that sentence made him realize it
I think it's like talking or thinking completely off topic, but I am not sure
The author's attitude toward the subject on which he/she is speaking.
attitude is everything like if you were hanging out with your best friend and your feeling down that just makes everyone else in a bad mood.