How exactly does a stock price gap overnight?
A stock price is the price where two entities are willing to transact. The prices are often affected by new information. If a company has a major announcement to make during the day, trading is often halted, and then the price can be radically different after trading resumes, since investors may have revised their valuations.