Does anyone know what this could be?

I’ve had the sickness and diarrhoea bug for the past 3 days and now I seem to be coughing up this? Only happened twice and not so big, it seems hard as well only happens when I cough but I also don’t have a cold either