Sometimes an advisor leaves the university.
Sometimes you hate an area and discover you love another.
You can change advisors.
A reasonable time to change is between the M.S. and Ph.D. degrees.
Weigh the time required to start over with a new advisor agains the risk of not completing your degree with your current advisor