I think that Auggie is trying to hide his feeling, he really felt sad, but tried to feel better so he tried thinking of funny/happy memory. Maybe he was thinking of Mr. Tushman AND Ms. Butt should go on a date or another funny memory that made him laugh even though he his upset.