Energies being equal, the heavier .22 pellet will have more momentum than the .177 pellet. This may or may not translate into more damage, it all depends on the nature of the target.

As already noted by others, the slower .22 has more tendency for lively rebound.