What kind of bottom bracket? That'll help for starters. I have a theory, but it will depend on which bottom bracket you have.
Other possible sources:
Loose crankarm, loose/damaged pedal, loose/damaged cleat, loose saddle rail clamps (depends on riding style), loose/damaged bottom bracket.
This is also well suited to the mechanics forum.
__________________
Good night...and good luck