The Doctor was still in a chipper mood - meeting Lucy had been strange, but not exactly bad.
Then he spotted the Master (a Master) walking with body language that screamed not being pleased with much of anything. Oh, dear. That could be very bad.
He rapidly tried to formulate a plan to intervene, hoping he hadn't been noticed yet.