This is a duplicate of BUG-000101690. It is documented that the Preserve Global IDs environment only applies to enterprise geodatabase data used with the Append tool. The message is to be improved to indicate this. Refer to the following link, https://pro.arcgis.com/en/pro-app/tool-reference/environment-settings/preserve-globalids.htm.