When you specify an explicit NULL for any union operation, its data type is INTEGER. For an example, see Example: Effect of Explicit NULLs on Data Type of a UNION.
On the other hand, column data defined as NULL has neither value nor data type and evaluates like any other null in a scalar expression.