The idea of 3. .. a6 is to force white player to make a decision about own black Bishop already in this part of the game.
For example:
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Bc6
or
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 a6 4.Ba4
Its two different variations with tons of theory in each of it.
If you want the evaluation of 3. ... a6 move - it is neutral one, not aggressive.
In the same category is for example 3. ... d6
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 d6
Not aggresive not mean weak - it is a solid one.
In contrast to 3. ... a6 or 3. ... d6
moves like 3... f5:
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 f5
3... Nf6:
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nf6
3... Nd4:
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nd4
forces the combination game.
To show the example of passive move in this position is
3... Nge7:
[FEN ""]
1.e4 e5 2.Nf3 Nc6 3.Bb5 Nge7
waiting for white action even creating some minimal troubles for own black bishop here.
To summarise it:
the purpose of 3. ... a6 in Ruy Lopez is to become more information about enemy black Bishop and as a result the whites plans for this game.