This baffled me, too, but here's the answer:
In h17, the dealer busts more, so your doubled bet makes more.
When you double, you give up the opportunity to get a fourth (or fifth, etc.) card and a fourth card isn't worth much when you're hitting a stiff hand against an A (and A6 could be...