Newton came to calculus as part of his investigations in physics and geometry. He viewed calculus as the scientific description of the generation of motion and magnitudes.
Leibniz focused on the tangent problem and came to believe that calculus was a metaphysical explanation of change.