If the bogwood was in the tank with them, that can turn the water dark brown with tannins- if it was that, the good news is it's not really dangerous- in fact, some people deliberately let the water get brown for some fish species.
Hope they get well soon!