Cannot delete Payment inside Invoice under payment history

Cannot delete Payment inside Invoice under payment history

we could delete the payment record directly under payment history inside invoice, but why there is only edit option available now?