The success of the Ane wa Yanmama trope relies entirely on a Japanese storytelling concept known as Gap Moe —the emotional punch you get when a character acts completely against their established archetype.
If you need a on this subject, I would need to make reasonable assumptions, or you could clarify: