It's my honest opinion that people do this because they want to take up extra space, and because they vaguely remember someone in school telling them "that's how you should write an essay." But that doesn't mean it's appropriate. In many cases, it simply adds bloat. Unnecessary scaffolding upon which nothing hangs but empty air.
In conclusion, I disagree with you, because I think the form is overused and leads to pervasive snoring. It could be used well, but if it were I wouldn't be complaining about it. I have now explained why I think this is and now I invite you and/or the reader to draw your/their own conclusion/s.
On the other hand, there is real value to using subheads; I'd rather lampshade transitions with subheads than write so-so transitional paragraphs.
This is a classic persuasive writing/speaking technique, and often quite effective when used well. I think people try to shoehorn an otherwise expository or short-form post into that form because it's worked for them in the past.
To be clear, it's most effective when working with a subject matter lengthy enough to exceed the standard short-term attention span of ~5 minutes or so.