Toys R Us was actually making a profit at the time it filed for bankruptcy and closed all its U.S. stores. How is that possible? The answer isn't only about competitors like Amazon - Wall Street had a major role too.