In Traditional Chinese Medicine,
脾胃 is the central pillar of digestion and energy production — weakness here is blamed for fatigue, poor appetite, and loose stools. The figurative sense 'taste/preference' grew from 'what one's stomach accepts', parallel to English 'to stomach something'.