Why is there two different ways of spelling diarrhoea?

Some people spell it with an 'o' and some spell it without?
Is it a british/american thing?
7 answers 7