To fix out issues on sccm client side,you should have great understanding of how the background process works from sccm site server to client side. here is the link which depicts about application deployment through logs–
https://configgirl.com/2018/11/10/sccm-application-installation-workflow/amp/