Hi
Find someone who can assess your upper ribs.
There are many conditions that present like that including:
1. referral from cervical spine (neck)
2. referral from nerve caught somewhere
3. muscle strain (unlikely)
4. scar tissue pulling from lung if there is a history of trauma
5. rib dysfunction (my best guess)