Tamed wolves sometimes stop listening to commands for sitting and standing. They do not attack if hit, but they cannot be controlled. After this, they never begin to listen to you again. There seems to be no specific length of time or log ins that cause this issue.
Related issues
duplicates
Comments

Thank you for your report!
However, this issue has been closed as a Duplicate of MCPE-33152
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
This is a duplicate of MCPE-33152.