SolarCity was about to go bankrupt (owned by Elon Musk’s cousins), so he found a way to justify bailing them out with Tesla money. He held the famous solar roof event, saying that all the homes behind him had solar roofs cheaper than a normal roof, which was later proven a lie. Tesla’s entire solar business was built on that foundation, and they struggled to justify it in the long term.