This is an example of bypassing.
Ted is bypassing, or rather choosing (consciously or unconsciously) to ignore the fact that his partner worker for 12 hours that day, and he believes that she just doesn't want to spend time with him because she doesn't want to, when in fact she is truly very tired.