Growing pains?

My toddler just turned two and she’s been waking up in the middle of the night sometimes and cries inconsolably. She says “it hurts!! Boo boo leg knee feet” but doesn’t complain about it during the day. I try to rub them and she arches her back and kicks her legs. It lasts about 15 mins and then she’ll take her sippy cup and go to sleep. It’s a horrible feeling not being able to help her, and also not knowing 100% what the problem is. Anyone else been through this? Can it happen this young? Anything that helps? Thanks!