Solving simple equation involving Tan fails

Solve[-x + Tan[y] == 0, y, Reals]

fails, but

Solve[-x + Cos[y] == 0, y, Reals]
Solve[-x + Sin[y] == 0, y, Reals]
Solve[-x + Cot[y] == 0, y, Reals]

works.

How to make it work with Tan?

Weirdly, but Solve[-x + Tan[y] == 0, y] works, as well as Solve[-x + Cot[y] == 0, y].

But Solve[-x + Cot[y] == 0, y] gives slightly different answer than Solve[-x + Cot[y] == 0, y, Reals].

The error message from Solve[], while it does not say this directly, indicates one should try

Solve[-x + Tan[y] == 0,  y,  Reals, Method -> Reduce]

This works for me in V14.2.1.