This is just because you get your inputs as a JSON string and backslashes are special characters in JSON that need to be escaped. Escaping is done by using a backslash (that's why it's a special character). If it was a single backslash, it would break the JSON structure. Double backslashes mean it's a single escaped (literal) backslash when you actually parse the JSON.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.