Eating less and throwing up

My daughter is 15 weeks old & the last two days she has been eating a lot less from 5oz a feeding to 2-3 oz and throwing up about 30 mins after she eats.. any ideas what it could be?