You could pass the responsibility to an underling.
You could declare you don’t know how to do it to force your boss to do it.
You could not do it at all because it was easier to not do it and hope no one noticed.
There are many ways people choose to not do something but the question is, why not take some responsibility and do it?
If you don’t know how to do something, try it and only if you can’t figure it out should you pass on the responsibility to someone else.
Passing responsibility is the easy thing to do. Taking the time and effort to do something correctly is the right thing to do.
Have a great day!