Enum size changes when combined with other variables

When adding a variable to IComponentData if there was a enum that is smaller than 4 bytes, it would increase to a minimum of 4 bytes. Why does that happen?

Struct size must be a multiple of its alignment by default.