For example, attack with no bonus vs for with no armor:
With dex 2, AC is 6, there is 75% hit chance normally, 56% with dodge action.
With dex 20, AC is 15, 30% hit chance normally, 9% with dodge action.
If the dodge action gave any bonus based on your dex it would effectively be accounted twice for the roll.