It sounds like a muscle balance issue, especially given that it hurts more when you take a deep breath in.
You should have your fit and pedaling form checked. Core stability (as mentioned above) is an important factor. You may even want to see a PT, a McKenzie trained therapist would be my first choice.
It's very unlikely to be a metabolic/water issue based on the unilateral nature of the problem and the pain with breathing description.
Living life like there's no tomorrow.
http://gorgebikefitter.com/
2007 Look Dura Ace
2010 Custom Tonic cross with discs, SRAM
2012 Moots YBB 2 x 10 Shimano XTR
2014 Soma B-Side SS