How come GoPro's stabilization is better than Resolve's?

Just a general question as I've been impressed with the stabilization of the GoPro Hero6. My understanding is it uses the sensors in the gopro to enhance the stabilization being done, but I'm still not sure why resolve (or another post-processor) couldn't do a better job 100% of the time?
If I turned stabilization OFF, shouldn't the added benefit of more processing power and ability to analyze the clip it it's entirety be grounds for producing better results? On the other hand, is the gopro actively smoothing things out as filming is happening, whereas without their stabilization the jumps would just be too jerky?
Just trying to better understand the mechanics/intelligence behind it to better understand if I should pre-stabilize or post-stabilize, if the footage is going through resolve regardless.
If I turned stabilization OFF, shouldn't the added benefit of more processing power and ability to analyze the clip it it's entirety be grounds for producing better results? On the other hand, is the gopro actively smoothing things out as filming is happening, whereas without their stabilization the jumps would just be too jerky?
Just trying to better understand the mechanics/intelligence behind it to better understand if I should pre-stabilize or post-stabilize, if the footage is going through resolve regardless.