Pink did not write "Ave Maria."
"Ave Maria" is a traditional Catholic hymn with Latin lyrics based on the angelic salutation to Mary. The earliest musical settings date to the 16th century. It is used in Catholic ceremonies and celebrations.
If you're thinking of a specific song by Pink titled "Ave Maria," please provide more details.