I want to clarify that the reaction from encephalopathy is the delirium, not the vomiting and diarrhea.
This really is serious though can be easily controlled with medication.
If you have cirrhosis than yes, this could be related. With advance cirrhosis, decompensated cirrhosis, people often have a side effect called encephalopathy. This can make a person delirious. If this is your problem then you should be on medicine for it called lactulose.
You should also not eat red meat.
But first you need to find out if this is your problem.
You should get a hold of your GI or preferably, hepatologist asap and tell them what happened.