It is for this reason that apologize is called a performative verb, defined as a verb denoting linguistic action that can both describe a speech act and express it.
A verb that explicitly conveys the kind of speech act being performed.