Flanging is often caused by Phasing issues.
Now this can happen Electronically or Acoustically.
Electronically might be you have input echo on.
There's cross talk in you signal path.
Headphones bleeding back.
Acoustically the room is reflecting an out of phase sound.