What you’re seeing isn’t a canonical trick you can safely copy, it’s Google being temporarily confused. Canonicals don’t transfer rankings like redirects. Those pages rank briefly because of other signals as expired domains, links, freshness, crawl timing, not because of the canonical itself