Your A54 has optical stabilization
@miracolous, and some people can hear it rattling if they shake their device. This is the same on some other A and S series devices also. It has been reported several times in this Members forum. Is it bad?. Well, if you aren't taking blurred photos and excessively shaky videos all the time, then my answer is no. I would not purposely shake your device too often though as this could cause a long term worsening of the issue or some other damage to your device. If I were you, I would just enjoy my device's camera to the max if it is still taking well stabilized photos and videos.