This phrase expresses an unexpected reaction to someone's early arrival, highlighting an emotional response to a situation that defied expectations. The use of surprise indicates a break from the norm or what was anticipated, and it can connect to various aspects of writing, including how dashes and parentheses can be used to add emphasis or clarify meaning in such statements.
congrats on reading the definition of I was surprised that he arrived early.. now let's actually learn it.