They'd want to raise cash through equity if the stock price is super high to get less dilution. If they think the stock is "overpriced" a bit, then yeah, a secondary offering would be a good idea.
Elon says Gigafactory may have more output than first expected with maybe something going by Q1. That could be good for the energy sales.