Hi,
if the SQL service is stoppping, it the scm-server-0.log, you will likely see that the SEPM service stopped just because the SQL service stopped first. You may eventually see what the SEPM was doing before SQL service stopped.
if the SQL service is stopping, you then need to analyze SQL logs, once you know the nature of issue, you may say or not if the cause is down to the SEPM or something else.