In at least this case, sf.gov confirms the existence of the agency[1], and has a page linking to sfdec.org[2][3]. So, it most likely really is just government agencies being bad at domains here.
[1]: https://www.sf.gov/news/san-francisco-launches-new-departmen...
[2]: https://www.sf.gov/departments/child-care-health-program-cch...
[3]: https://provider.sfdec.org/ (linked as "Department of Early Childhood Provider Portal" in [2])