Different outputs in Refine[ ]?

Why is the output so different? I have only switched the letter “T” to “a”