An Australian state closed two beaches after dead fish and an unusual off-white foam washed ashore while surfers reported feeling unwell, officials said on Tuesday.