Common tense variants:
The grammar structure ことになる expresses that something has been decided (by external circumstances, a group, or forces beyond the speaker's control), or that a situation turns out a certain way. Unlike ことにする, which indicates a personal decision made by the speaker, ことになる implies the outcome came about due to external factors – a company policy, group consensus, natural course of events, etc.
The most common usage is in the past tense – ことになった – meaning "it has been decided that..." This is used when announcing decisions made by organizations, groups, or circumstances rather than by the speaker alone.
Even when the speaker was involved in the decision, ことになる is used to present it modestly or indirectly, downplaying personal agency. This is very common in Japanese culture.
In the non-past form, ことになる can express what will end up happening as a logical consequence or result.
When combined with 〜~ている, the form ことになっている means "it is the rule/custom that..." or "it is supposed to be..." It describes established rules, norms, or arrangements that are currently in effect.