The point of TOUCH is making operations idempotent: if you run it several times, the outcome is the same. This is relevant when client applications need to rely in idempotency (for example when events come through Kafka and you rely on at-least-once delivery guarantees, hence events can be replayed).
In you specific case, you are running a transaction that has TOUCH on the new resource and DELETE on the previous resource. If you ran that again, it would succeed, whereas doing it with CREATE wouldn't, because the document Y relationship already exists. You may have reasons to retry that operation: what if it timed out in its way back to the client? the transaction may have succeeded, but your client never got acknowledgement, so naturally it would retry it.
TOUCH comes with disadvantages: it's more expensive to execute on the datastore.