It was in the oven too long
CommonA cake continues losing water for as long as it is hot. Past the point where the structure has set, every additional minute is drying rather than baking — and the edges, which are hottest and have the most surface, dry first. The result is a cake that is dry throughout and noticeably tougher at the outside, often with a thick, hard crust.
What to change
Test for doneness rather than trusting the time
Start checking well before the recipe’s time is up. A skewer should come out with a few moist crumbs rather than clean — a genuinely clean skewer usually means the cake is already slightly past its best. The cake should also be just beginning to pull away from the sides of the tin and spring back when pressed lightly.
Any cake, and particularly in an oven whose real temperature is unknown.
Trade-off: Opening the door early matters for a cake that is still rising, so check late rather than often.