It’s more about whether or not the company has taxable profits for that year (importantly these are not the same as real profits). I would read this article to understand more about how being forced to amortize tax deductions for expenses affects a business’s taxes.
https://news.ycombinator.com/item?id=44180533
more info here too
https://news.ycombinator.com/item?id=44226145