I don't think Ebola spreads by sneezing. It is typically spread by contact with bodily fluids. So if a person with Ebola vomits and droplets get on you--or you touch the droplets on bathroom surfaces--you are at risk.
The function of sneezing is to expel mucus containing foreign particles or irritants and cleanse the nasal cavity.
While generally harmless in healthy individuals, sneezes spread disease through the infectious aerosol droplets, commonly ranging from 0.5 to 5 µm. 40,000 droplets can be produced by a sneeze
Note the words muculs and droplets above. If someone sick with Ebola sneezes on you, you can catch the disease.