Sharpe ratio vs Information Ration

Why sharpe isnt affected by leverage while IR is? I cant see the maths behind this logic