Children who seek attention often feel invalidated, lost, weak, and unimportant.
They will often resort to "grabbing" attention even if that means using bad manners to do so. It can be overwhelming for a caregiver to deal with this type of behavior on a day to day basis. However, the caregiver must remember that this is only a test.
Allah عزوجل says in The Qur'an:
وَٱعْلَمُوٓا۟ أَنَّمَآ أَمْوَٰلُكُمْ وَأَوْلَـٰدُكُمْ فِتْنَةٌۭ وَأَنَّ ٱللَّهَ عِندَهُۥٓ أَجْرٌ عَظِيمٌۭ
"And know that your wealth and your children are a test for you and that with Allah is a great reward."
Surah Al-Anfal, 8:28
Children who tend to be a bit overbearing are often some of the most amazing people- they are just misunderstood. They are seeking knowledge and cohesiveness in their lives.
Find a way to validate these children without over praising them. Its more than just giving them complements. They need to "feel" understood. They truly seek connection.
Be patient, kind, and over look their faults. Heal these little people before they enter the word as adults - broken.
Teach them to put their trust in Allah and let them know all praise, honor, and glory comes from Allah.
May Allah help all the Muslims striving to raise righteous children. Ameen.