ERC20 allowance is 0 even after approval

Can someone help me out with this question?