You need to take some time with your boss and discuss with him how he feels regarding your performance or any inputs he can provide to help you deliver work more effectively. This conversation should ideally take place when he is in a good mood.
Additionally, you should assess yourself to identify any areas where you may be lagging behind in your work. For example, delays in completing tasks, failure to prioritize important tasks, lack of proper communication, errors in your work, or taking frequent leaves. There could be various reasons for this, and you may have a better understanding of them than anyone else.
Give this a try. Feel free to reach out to me if you need more insights at [Email Removed For Privacy Reasons].
Regards,
Sumit