Course instructor change after sign-up?

What’s the deal with signing up for a course with a specific instructor then two days before class starts it changes to another instructor?