The science behind the dress colour illusion

Why do some people see #TheDress as blue and black, and some as gold and white?