The most common reason a transaction can fail is it runs out of gas. Gas equates to the amount of work in a transaction. If the gas limit is too low the miners stop working on the transaction before it is finished.
Try submitting the transaction again with a higher gas limit.
Remember that any unused gas will be returned to your account when the transaction is finished.
The second reason a transaction can fail is if another user completes a trade before you. This cannot happen when wrapping ETH but it can happen with trades. If two users attempt to fill the same order at the same time the user with a higher gas price is likely to have their order mined first. The order cannot be filled twice so the second order fill attempt will fail.