Keeping personal feelings secret typically depends on the nature of the friendship and the individual's comfort level. Generally, people might be more inclined to keep personal feelings private with:
A. Casual friends - Because these relationships lack the depth and trust often necessary for sharing intimate feelings.
That said, individuals might also choose to keep feelings secret from others depending on the context and dynamic of their relationships. Ultimately, it varies from person to person.