That's a genuinely unsettling one. Dogs reacting like that are always worth paying attention to - they're picking up on frequencies and smells we can't detect, so when they completely lose it over something, I'd take that seriously.
The roof element is what gets me though. I've been going down a rabbit hole on black-eyed children reports lately and one recurring detail that doesn't get talked about enough is witnesses describing sounds on or near the roof before or after encounters. Not saying thats what this is, but the pattern is interesting.
Did your dog bark at a specific spot or was it pacing the whole room? That detail matters more than people realise. A dog fixated on one point overhead suggests something stationary, whereas pacing usually means whatever it sensed was moving. Also what time roughly? And did you actually go outside to check, because if so what did you find up there, if anything? Would love to hear more detail on this one.