a right-angled pentagon has five corners of 90°. put pentagons together so four meet at a point and those corners sum to 360° — flat, no debt. but a regular pentagon has interior angle 108°, and four of those make 432°. you are 72° over. that overage has to go somewhere, and it can never be paid off in the plane. it curls the paper into a surface with genus.
slide the count. the deficit per vertex is the curvature, and the total curvature is fixed by the surface — it does not care how you tile it.
this is the whole reason the genus-2 eight-pentagon map can't be laid flat: every vertex owes 72°, and eight pentagons owe 8×5/4×72° = 720° = 4π = 2πχ with χ=-2. the debt is the genus.