We know that these are two different fundamental forces of nature, so naturally they behave in a different manner.
In the case of electromagnetic force, the strength varies inversely to the distance squared.
In the case of strong force, the strength increases as the distance between the quarks increases (consequences of Asymptotic freedom).
I want to know the explanation for that.