In the JSON formatting you provided, "https://ABC.sharepoint.com/sites/ABC/MOC%
20files/Forms/AllItems.aspx?FilterField1=MOC_x0023__x0028_lookup_x0029_&Filter
Value1=' + [$MOC_x0023_]" is a dynamic URL to filter the view in list A.
For the hyperlink column of list B, JSON formatting only can set a static URL as its value.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.