Publishers, libraries and book stores like to pigeonhole writers into neat little boxes. Write one fantasy novel and you wear that mantle for the rest of your career. Same goes for romance and science fiction and on and on. Some writers happily wear their personal albatross, others fight it.
J.K. Rowling is an author who fights it.