Would you prefer to be on call at 2am to immediately fix something that blew up on the backend that caused an outage, or be given a couple of days to just patch a weird bug that only affects a few users on the frontend?
If you said frontend bugs are cheap I'd agree with you.
But when you say tech debt o don't think about bugs I think about updating dependencies and dealing with their breaking changes. That feels worse to me in frontend code than in backend code. Not for some intrinsic reason but I guess just culturally.