The SAML response and assertion can have different security properties. The assertion is also not the only part of the response - it may contain multiple different elements with varying purposes and contents.
The SAML response may or may not be signed. The SAML assertion within that response may be unsigned or signed, and may also be unencrypted or encrypted. In the case where both are signed, the algorithms and certificates used for signing may differ between the assertion and the enclosing response. Other elements of the response may also be signed and/or encrypted. An example of such an element is md:EntitiesDescriptor
.
In some cases a service provider may be comprised of separate service components, such as one responsible for generating the assertion and another responsible for applying additional metadata or context to the SAML response. In such a case, the assertion and response would potentially be signed by separate entities with different certificates.