Margin exchanges usually have a reduce-only instruction which allows us to open orders which can only exit an existing position but not open a new one.
An order might be closed with this status when the position size decreased, either because the amount was used manually or the position was liquidated.