The Twitter API lets you do retweets (which is supported by n8n Twitter node) but also to undo retweets (which is not supported by n8n Twitter noce).
There is a difference between the version of the Twitter API (1.1 or 2.0). Here is all the information needed:
The same applies for likes. Thanks!