two sides of the same coin
idiomDefinition of two sides of the same coin
: two things that are regarded as two parts of the same thing
These problems may seem unrelated but they are really two sides of the same coin.