Is the room properly vented.
Sometimes rooms with water heaters etc are pretty well sealed and the exhaust doesn’t vent because the vent can’t pull enough air from the room.
This is why in direct vent firplaces you see both an intake and exhaust pipe.
I remeber in our old home that if you did not open a window to let air in the fireplace would put a lot of smoke into the room.