Aug 19, 2021
As I understand it, Avril wrote the lyrics, the rest (who are a production team) co-wrote and produced the music.
This is so common with solo artists as far back as solo artists have exists that it would be extremely unusual if she had wrote the whole thing. Most people can't play every instrument.