Why does my aim do that

Whenever I try to aim, my crosshair keeps rising and it does this every few minutes and I know it’s not my usual aim so what’s going on