Why some companies are reporting loss due to the new US tax law?
The lower tax rate means that they will gain less benefit when they apply their deferred tax assets against their income. 

They have large amounts of these assets recorded on their balance sheets and are adjusting them to reflect the new, lesser value.