It has become a thing of fancy to say that the President of India is apolitical. But that is plain wrong.
Most people who say apolitical actually mean non-partisan, not knowing the difference.
An apolitical person is one who doesn’t hold any public office, while a non-partisan person is one who doesn’t belong to (or isn’t loyal to) any particular political party or parties.
Every office created or authorized by the constitution is political.
Also, you shouldn’t fall for the “holy book” fallacy. God didn’t write the constitution; God didn’t say “There shall be a President of India” in Article 52.
It was a set of fallible humans, and it’s a fundamental right — nay, duty — of every new generation to question them.