Transitioning between two advisors who work in the same department
It depends on the personalities of the professors involved and in how the student handles the switch. If they really are working in two distinct fields, and if that is the real motivation of the student for switching, most likely there will be no issue.