Needlebite Trap’s alternative cost condition checks only whether life was gained. It doesn’t care whether life was also lost. For example, if an opponent gained 4 life and lost 6 life during the turn, that player will have a lower life total than they started the turn with — but you can still cast Needlebite Trap by paying .