Complex sentence: Although they remain for only a short period, both characters undergo significant change: their relationship with each other is especially affected, as they both find themselves drawn to Madame Odintsova.
Split into simpler sentences: Although they remain for only a short period, both characters change a lot. Their relationship with each other is especially affected, because they both find themselves drawn to Madame Odintsova.