In the Latin Rite of the Catholic Church, priestly celibacy is a discipline, not doctrine.
catholiceducation.org/articles/religion/re0545.html
Think about the practical consequences of the Church lifting this discipline. Think about your own parish rectory – and about your own pastor being married. He’s scheduled to celebrate the 7 a.m. mass. Because he tries to be a faithful Catholic husband, he and his wife have been fruitful and multiplied – so they and their seven kids are squeezed into the 3-bedroom rectory, paid for by the parish, because after all, the parish cannot afford to pay much of a salary to any priest. At 6 a.m. the priest’s infant and 3-year-old have raging fevers and must be brought to the E.R. – how can the priest be expected to fully separate himself from his family obligations to participate in his parish obligations within the hour? As a parent, shouldn’t he abandon the 350 people coming to that mass, so he can help his wife care for his children? But what of the needs of the parishioners? Then that afternoon – his 8-year-old has some friends over – and they hit a baseball into the church’s 150-year-old stained glass window. The pastor can’t afford to repair this – so the parish must assume the expense of repairs. And the next day – the 16-year-old son is hanging out with his friends, and without permission, drives his friend’s car, sideswipes a parked car, and incurs a few thousand dollars in damages to both cars. So the owners of those cars sue – and the teen’s dad, the pastor, is held liable – but doesn’t have the cash to pay because of his low salary – so either the parish must help pay, or the pastor needs to resign from priestly duties to take on a job that will pay more. Etcetera.