Could be something is slightly off with your positioning on the bike, and it's irritating your iliotibial bands.

Do you have someone who can check your bike fit and your riding posture?