White and Foamy discharge??

So recently I changed my diet a lot because of a jaw surgery. I can now only drink things for the next six weeks.

I already knew that this would change my discharge a bit, but suddenly its white and foamy?

Originally it just smelled different and that was it, it was still "normal" and not that concerning. But now when I checked it was white and foamy. I tried looking some stuff up about it but I couldn't find anything about why its gotten like that. Could it just be the diet change or should I be more concerned?