You have to see this as a whole and not a per ability basis.

STR is for melee physical damage class/job
DEX is for ranged physical damage class/job