Welcome to the forum! Washing with soap before handling is bad, but i doubt it contributed to your frogs condition. Possibly a bacterial infection or even a parasite. Definitely needs a vet's attention. Hope everything turns out alright.
Edit: upon closer look, could also be a cyst of sorts.