Informally phrased “convexity is measured along other curves” on manifolds that can be embedded. For example on symmetric positive definite matrices or the Poincaré disc, you could always “walk the straight line” (to look for Euclidean convexity) or along geodesics (for the Riemannian/geodesic convexity).
Then, even more general than Nicolas remark, if a function is convex w.r.t. both in a certain area – then it is constant.
If it is not constant, it is hence non convex in one of the two cases. We considered such an example for a function on a Hadamard manifold in
https://arxiv.org/pdf/1506.02409 Remark 4.6, see Figure 4 for an illustration on the Poincare disc.
The cool part is, that there are functions, that are not Euclidean-convex in the embedding on a manifold, but turn out to be geodetically-convex on the manifold.