Hi,
Wordfence does not change permissions on your WordPress files.
We only change permissions on our own cache files. There is no function or option to change permissions on files outside Wordfence's own cache directory, so I think something else did this.
Please ask your hosting provider because they may have an automated job that did this.
Regards,
Mark.