The particles on earth are positively charged which creates an electric field....and as we know that unlike charges attract each other....thunder appears....it appears that thunder strikes from earth to sky....but in actual its a correlated process....