1. If you are very compassionate, you am try to comfort them and by doing so, you may feel as though these problems are your own and will fee, stressed/distressed as well.
2. If the other person is lagging behind and not contributing to the work, you may be affected in a lack of pay, marks, etc. This will affect your reputation as well as status.
Hope these help!