Birds engage in beak rubbing or "feeking" for various reasons. Normally you will see this behavior as it helps to keep their beaks clean and free from debris, maintaining optimal hygiene. Along the lines of cleaning, beak rubbing on surfaces also helps birds maintain a sharp and well-maintained beak, which is essential for eating and preening.
Other reasons for this behavior can be, territorial marking (scent marking), communication with other birds, signs of affection, distaste.
So, if you see your feathered friend engaging in this behavior, rest assured that it's a natural and important part of their daily routine.