There are four atoms in COF2, and only three atoms in O3. This completely changes the dynamic of the bonding and it is not easy to compare the two. Lone pairs will affect the bond angles and so will bulky side groups.