Before Trump's tariffs were even a twinkle in his advisors' eyes we (where "we" == some of we domestic OEMs developing new solar power products) were facing a more difficult market due to federal tax credit phase outs. Would have been OK but for the damned tariffs and erratic leadership scared the hell out of the money people who decided the company was better off shelving its solar interactive inverter product line - and we were in the sub 10 cent/kw pricing - in favor of using corporate $$$$ for financial engineering (acquisitions) and distributions to owners.
IMO the root cause of lots of these failures is the absence of consistent, thoughtful policies, and leaders.