Typically, sources of pain in this area could include tendinitis of the gluteus muscles, joint pain
from sacroiliac or facet joints, or even disc pain.
The most common cause would be tendinitis. In your age group this may last weeks or longer. It goes on for longer than a few weeks, consider a checkup.