Ankle boots are better for hiking because they provide more support, allow you to travel on and off path, and can provide your shins and ankles relief from annoying pebbles and bugs that may try to sneak into your shoes on your hike.
Be advised that ankle boots are not better for people with preexisting ankle support issues.