The Holy Spirit is an integral part of the Holy Trinity and thus always has a loving relationship with God the Father and God the Son.
When Jesus was baptized by John, a voice from Heaven says:-
“This is my beloved Son”
And the Holy Spirit, like a dove, rests upon Jesus. All of this takes place simultaneously. And all three members of the Trinity are seen here at exactly the same time.
And as a Divine person in His own right, the Holy Spirit has lived in a loving relationship with the Father and Son for all of eternity.
And God, in His infinite wisdom created us so that we may participate in that loving relationship.
God wants us to enjoy fellowship with Him in exactly the same way as each member of the Trinity has enjoyed fellowship with each other ever since the beginning of time itself.
It is sometimes rather challenging for us to understand that the Holy Spirit although part of the Holy Trinity (which includes the Father and the Son), also has a mind of His own.
This is why I write about God and the Holy Spirit as one being/person – which, of course, they are.
With many peaceful blessings