TN was running behind AP till Agra Cantt.
If u are able to see the arr dep timings kindly check the halts too. TN dont have stops at MTJ n Ballabgarh but AP had to stop . So TN will be given priority in order to give smooth run and not to trail behind.