Basically they "advise" the Queen or King not to grant "assent" which is a formal part of the legislative process, so now the law is dead.
Now, it would likely prompt a straight up constitutional crisis and calls to declare independence unilaterally if they did this to some Scottish law about what is clearly a Scottish competence widely understood to be a matter for Scots, like rent reform, but they can do it anyway, they just haven't.
Isn't it fair to say that there are no restrictions on what the UK parliament could decide to do - they could do anything they just mostly haven't yet?
I just wanted to highlight that the observed asymmetry isn't as significant as it appears, but the consequence of trying this out, in both cases, might be a constitutional crisis. If you care to learn about this specific topic, look for the "West Lothian Question". https://en.wikipedia.org/wiki/West_Lothian_question