I suspect that you’re missing the point of the question.
You would use a t-statistic if you had data about the earnings themselves. But here _ you don’t _ have data about the earnings themselves, you have data about analysts’ estimates of the earnings. The point is that you cannot create a confidence interval for some data when all you have is a bunch of guesses on those data (even if they’re educated guesses).