Read the comments on point A and point B.
My idea is below:
You have two links: Link X and Link Y.
For item A, link X and link Y are displayed as regular hyperlinks, all is well.
For element B, link X is displayed as a regular hyperlink, but renders link Y as text / hyperlink with a special sign icon, and when the user hovered over it (not a click), it displays a pop-up window / tooltip explaining the reason.
The idea here is to reduce mouse clicks (as you can see above, without clicking and without redirecting), as well as saving page / screen space (display the reason when you hover over).
In addition, you can enter instructions on the page, indicating that the user must complete all the actions in Link X to go to link Y.
source share