I feel like its generally agreed upon to act distant/cold if you’re not feeling well or upset. Do you agree?

If you’re feeling under the weather, do you think it’s bad to say Hey I’m not feeling so good, gonna head to bed. Or is that too much weakness?