Sounds frustrating. I dont know the answer but your post in Chat GPT gives the below response. It may be useless, or one of the points may help, i dont know.
AI:
Here are some less obvious but technically plausible causes that can create persistent foaming in a Siemens dishwasher, even with...