It does both jobs but they're typically referred to as compositors. See basically any description of any project (including niri). Additionally it's confusing because then people have to lookup if it's X or Wayland when we have very obvious terms that we can use to distinguish implicitly
A scrollable-tiling Wayland compositor