Hello!
The cosine of any acute angle is equal to the sine of its complement. of any acute angle equals its cofunction of the angle's complement. Yes, there is a "relationship" regarding the tangent of the two acute angles (A and B) in a right triangle.
Hope this Helps! Have A WONDERFUL Day! :)