Which type of transformation could cause a change in the period of a tangent or cotangent function?

vertical shift

phase shift

vertical stretch

horizontal stretch