That’s rationalization which is not the same as rationality. If you were interested in being rational you would learn as much as you could about rationalization and try to detect or avoid it.
Rationality is also not the opposite of emotionality. You don’t have to be Spock to be rational.