could be a loose crank arm bolt, a loose pedal, or possible, lke happened to me; as simple as dry threads between the bottom bracket housing and cassette. hope it is one of these simple things. if it is an old cone and bearing type bb, could be dry and need overhauling/greasing. good luck