I think the 12 nights has nothing to do with the church. Yule has its origins in pagan festivals and the 12 days is based on that.
Puritans banned Xmas.
Victorians brought it back by copying German present giving.
I guess the church has merely followed custom.