You asked
Which lens suits macro on an a6400 without getting close to the subject?
The guide doesn't cover macro lenses, and the a6400 page doesn't mark any of its lenses as macro, so it can't name one for close-up work. Macro also means focusing close to the subject, so keeping your distance is a trade-off. What a telephoto lens can do is let you stand back from small subjects such as insects, flowers or birds while still filling the frame.
From the a6400's lens list, the closest fit is the Sony E 55-210mm f/4.5-6.3 OSS, which frames like 82-315mm on full frame. It's a modest zoom, so it's easier to carry than the larger options, and its OSS stabilisation steadies the camera at long focal lengths. The a6400 has no stabilisation in the body, so that matters. For more reach, the Tamron 70-300mm f/4.5-6.3 Di III RXD frames like 105-450mm on full frame. It gives up some size and weight to get that extra range.
Stabilisation steadies the camera, not the subject, so a small subject that moves will still need a fast enough shutter speed. Background blur also grows with focal length and with distance between subject and background, which the portraits guide's blur section explains. Both lenses above use those effects to separate a distant subject from its surroundings.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.