I don't understand why he does this, or what he hopes to accomplish.
It is well defined by dictionary.com
https://www.dictionary.com/browse/troll#
Digital Technology . Informal .
to post inflammatory or inappropriate messages or comments on (the Internet, especially a message board) for the purpose of upsetting other users and provoking a response.
to upset or provoke (other users) by posting such messages or comments.