When a company spins off another one in a non-taxable transaction, the cost basis of the parent company has to be allocated between the two resulting companies.
Here is more about what you need to know to make sure your accounting records are correct after a spinoff occurs.