Shortcodes in WordPress are just quick ways of generating HTML The result of the shortcodes is included in the rendered content available for posts via the REST API
Regarding Contact Form there are some updates pending to be done in the package (not maintained by the Frontity team) so that may lead to some issues. Have a look at the following post to learn more about this