This topic is actually well discussed, please follow the links below:
Differences between SLA and SLO
SLA and SLO discussion on Quora
In one sentence, SLO is part of SLA. SLA is a legal contract while SLO has some specific definitions regarding performances, which can be used to guide performance testings.