Welcome to HCM.
Most likely it is lipoma
There might be some adhesion
from capsule of lipoma to muscle fiber.
That is why it is movable and painful during muscular movement.
Painless,non increasing lipoma doesn't require any treatment.
Disturbing,painful lipoma requires surgical removal .
Consult your surgeon for further guidance.