swollen armpit 22 weeks

It’s very sore just happened today, I have a swollen lump in my armpit I’m assuming it’s a lymph node in there, I feel fine but wondering why this happened? The lump is a little bigger than a quarter.. partly under the skin and isn’t a pimple or ingrown hair