Bankruptcy Trustees have a lot of discretion about how to manage money obtained while administering property, but collecting rent and not paying for any of the services tied to property sounds pretty typical to me. Hope this perspective helps!
The HOA apparently obtained relief from the stay to foreclose, and the Trustee appears to have been aware of it and took no action to oppose. Apparently there was no equity in the properties, and you were unable to service the debt while in Chapter 11. I have idea how you intended to "keep" these properties, but you should ask you lawyer what can be done at this point, if anything.