Scrum Masters and project managers both help teams deliver successful outcomes, but their responsibilities and approaches are different.
A project manager commonly focuses on planning, scope, timelines, budgets, resources, risks, stakeholders, and overall delivery. The role may include coordinating several teams and ensuring that the project remains aligned with organizational objectives.
A Scrum Master supports a Scrum Team by helping its members understand and apply Scrum effectively. Rather than assigning daily tasks, the Scrum Master facilitates events, helps remove impediments, promotes continuous improvement, and encourages the team to become self-managing.

The two roles may coexist in larger organizations. A project manager might oversee governance, dependencies, budgets, and external stakeholders, while the Scrum Master concentrates on team effectiveness and the correct use of Scrum.
The appropriate career path depends on your interests. Professionals who enjoy facilitation, coaching, Agile ways of working, and team improvement may prefer the Scrum Master route. Those who enjoy broader planning, coordination, risk management, and stakeholder communication may be better suited to project management.
Both roles require leadership, communication, problem-solving, and an ability to manage change.