Dizzy said:
... I wonder if once they are gifted the last orders I had for them are canceled and new orders are given.
...
Yes, orders get cleared when ships are gifted to another empire. In simultaneous movement mode, this means the ships won't have any orders for the month they are transferred.