To find volume of the shape generated by rotating $f(x)$ around the $x$ axis we calculate
$$\int_a^b \pi f(x)^2\, \mathrm d x$$
as the area of a circle is $\pi r^2$ and we just split it into discs.
Why then by analogy is the surface area formula not just
$$\int_a^b 2 \pi f(x)\, \mathrm d x$$
I don't understand the fundamental difference between the two cases.