A muscle that is lengthening while it produces tension is performing an eccentric contraction.
Eccentric contraction is the contraction that occurs when the load on the muscle increases and at one point it reaches a stage where the external force on the muscle is greater than the force that the muscle can generate. As a result, the muscle is forced to lengthen due to the high external load.