Originally moves (physical or special) were decided by it's type. All eeveelution type moves (like fire, water, etc) were special, and the other ones were physical. That changed in gen 4 though. Some loves were changed from physical to special, or from specisl to physical, like waterfall, but the reason behind that type of moveset in swampert might be the leftovers of the previous mechanics.