Thanks for your question.
There are a few possibilities;
1- Direct effect of medications
for vomiting and ACE inhibitor
2- If she is on diuretics, electrolyte disturbances can cause vomiting.
3- Precipitation of heart failure
can cause cough and vomiting aswell.
4- you should monitor her blood sugar level.
Do get her ECG and rule out any new change.
Hope that answers your question