i never had any issue with android file transfer whenever i connected my phone to my Mac until i updated to Ventura. i keep getting 'your phone is not connected.
Try MacDroid, the best alternative I know. Regardless of the MacOs version, it always works well.
You can also try resetting Android File Transfer preferences by deleting the AFT preferences file. Go to ~/Library/Preferences/ and delete the file com.google.android.mtpviewer.plist.