It's the classic frame of "Haha, I was only joking. Unless I wasn't and you want to take me seriously." Eric comes across as having a wounded ego that he protects at any cost.