Inactive Tutor answered 09/22/19
The task of maintaining is spelled "maintenance" and not "maintainance" based on pronunciation. The word is spoken as "main-TEN-ence" and not "main-TAIN-ence" and thus the word is spelled as "maintenance."
It is a grammatical nuance of the English language that, unfortunately, will not be going away.