Presumably, your lawyer objected to the demeaning questions; one can also seek sanctions (while the case is still active). Unfortunately, the practice of law attracts a few incredibly nasty people (with their own personality disorders - for which medication does nothing), who use their misanthropic or sociopathic tendencies in a manner that is generally accepted within their profession.
Some of the questions posed are arguably (at least distantly) related to fault divorce issues or custody, although there is some irony in this emotional terrorist asking if you are a supporter of terrorism. People like this are reinforced and pleased by the knowledge that they got into your head. Don't let him succeed.