I think the ozone layer forms over the
equator because the equator is always rotating closest to the sun and due to
this at the equator the sunlight is most intense. When there is strong sunlight
it allows and help the oxygen molecules to break into O₃.
The connection of
sunlight and ozone formation is that sunlight provides energy to break the bonds
of oxygen molecules and thus it helps in formation of ozone.