Free work identity and nonlinear instability in fluids with free boundaries