The first statement can be slightly reworded:
>In all scenarios where Bob would have a sponge, he would also have square pants.
So, we know that if Bob didn't have square pants, then he must not have a sponge (because he has square pants whenever he has a sponge). Hence, only if Bob has square pants is it even a possibility that Bob has a sponge.