Originally it used to be Alma Ata which then became Almatı. This kind of transformation is common in Turkic languages.
Ata does mean father or forefather or grandfather. It is also used in the sense of "ancestor" in a similar sense.
In that sense, it is like көке (köke) which is derived from the word "root". It is not used in Turkey like that, but any Turk would understand why it means "father".