I think you might have misunderstood. It's either A or B. Not both. In A you ask the colour, not the suit. In B you guess the ace of spades (or any card really) not the suit. You never guess the suit in either case.
The simple explanation is that in case A you get one guess at a half sized pack, and in case B you get two guesses at a full sized pack. Both the same.
But if you want to look at it more closely ...
In case A if they say yes it's red, you now have 26 cards (the red ones) to choose from. So your chances are 1/26. Same if they say no it's not red and you choose a black card. So chances in case A are
1/26.
Case B is a bit more complicated.
If they say yes it is the AoS you will definitely guess right because now you know what the card is. There's a 1/52 chance of that happening.
But if it's not the AoS you get a second go. There's a 51/52 chance of this happening and this time your chances of guessing right are 1/51. So we add these together:
(1/52) + (51/52 * 1/51)
= 1/52 + 1/52
=
1/26 same as case A
There's a bit of misdirection in the question because case B specifies a particular card (AoS) If it had just said you get to guess twice it would feel more plausible.
If you still think it just
feels wrong (as I did) feel free to write a simulation in excel (as I did

) and you'll find that it's right.