What are coffee grounds that are vomited?

Blood. Blood mixes with acid in the stomach and looks dark brown like coffee when vomited up.