Question about contract function

I’m looking at a contract that is often forked by others. I’m trying to figure out why the swapBack function was programmed to be triggered only on a non-Uniswap transfer. Can someone enlighten me?