You may do things for others that go unnoticed.
And even if the things you do for others are noticed, they may not be appreciated.
If being noticed or appreciated is your reason for doing these things, you are going to be disappointed.
You will be hurt or even angry when you do not get the reaction, recognition, or appreciation you were expecting.
The problem is not the response you get or do not get.
The problem, the cause of your disappointment, is your expectations.
If your motivation for doing things for others is that your actions will be noticed or that you will be appreciated, you are really not doing things for others.
You are doing them for yourself.
Therefore, you can choose either to do things for others without expectations or you can choose to be disappointed, but you cannot choose both.