Oddly I have only ever washed bogwood with boiling water followed by rinse in hot water and that's it. It's never changed the water yellow. But I have always gotten it from a fish store so....
It probably was the wood. But it is harmless. Just doesn't look as clear. I suspect the fish aren't at all bothered.
Hugs,
P.