Headlines are usually written by sub-editors, not the writer of the article. It's the headline writer's job to get you to click, they don't really care whether or not the headline is accurate so long as you clicked on the article (and saw the ads).
I think journalism has to go this way because of what it competes with.