"Ratio" is a Latin word and it simply means to justify or reason. It can also mean "proportion" or "calculate".
Rationalize simply means when a person wants to explain or justify a particular thing. The root word "ratio" can be seen in words like "ration", "irrational", "rational" etc.