Depends what you are apologising for.
If you are sorry that someone feels upset but you feel justified in your POV and don't want to say that your own feelings or thoughts are wrong or bad, then that ought to be an option.
I can say to someone that I am really fed up with something they keep doing to me and they then start sobbing about the fact I have said I am not happy - I can express sorrow at their upset without wanting to placate them by coming across like I am withdrawing my comment.
I'm sorry I'm sorry, you carry on doing that I'll shut up about it v I'm sorry that this has upset you but really I cannot carry on accepting this situation.
An acknowledgement of someone's feelings while maintaining your position isn't a bad thing. Being sorry for the way you did something while maintaining that your reason for wanting to do something was valid is not a bad thing.
However, that last one was just plain ignorant of him. If you have sweets in and you are answering the door then you've got no business lecturing people who knock.
He had the choice to put up a sign that said no trick or treaters, if he felt he didn't want to participate. Not get someone to the door and then try to make them feel small. That was dickish.
I'm sorry but.. followed by horrible view is just another way of saying no offence but...horrible view and isn't about apology or anything close.