"Affected means that something was influenced or changed (e.g. the lyrics affected him).
Effected means that something was brought about or facilitated (e.g. she effected the proposed changes)."
It's definitely a subtle change, and, similarly, affect and effect tend to be mixed up as well
- from https://prowritingaid.com/affected-vs-effected#:~:text=To%20....
I will also recommend the book Uncovering The Logic of English, which is primarily aimed at native (American) English speakers but has several nods to English-as-a-second-language lessons.
Cheers! Signed, an American who was corrected by his father quite often and now has an ear for these things.
Even with English as my first language, and as a life-long pedant, I still have to stop and think each time I use one or the other.