mRNA vaccines are highly localized: you get a sore arm because most of it only gets taken up by muscle cells around the injection site, which spend some time producing the antigen and triggering a primary immune response (the inflammation aka the sore arm).