It was just a stomach infection, it wasn't something else. Even when he asked you if you were okay after seeing you vomit, you clarified that it was because you ate something, without giving more details. You thought everything would end there.
However, you didn't know that your husband questioned his employees about what you ate. There was nothing wrong with what they gave you so it seemed strange to him. So when he went to work and mentioned your status to Kaeya because he kept asking about you, the patch guy said something like "are you going to be a father?"
With that in mind, the next day as soon as you woke up Diluc was treating you like a queen, believing that you could be pregnant, without knowing the real reason for your vomiting was that you secretly ate something at night and went to bed as is.
"Eat calmly" He tells you after having breakfast brought to you in bed. "Today I will stay with you. And then the doctor will come to check you."