Thunder can be caused either with 1."cloud positive and earth negative" 2."cloud negative and earth positive" 3."cloud positive and cloud negative"

Most common are 1 and 3. the occurrence of 2 is very rare. The rest regarding direction of flow of charges and ions follows just like in a Cathode_ray_tube