Avoid open palms toward the bird. It is really scary to them. As Laura mentioned, you need to be consistent in what you are doing. Also, timing is everything.
For example, if I want my bird to step up, it is always an offered finger in front of his belly ( not pressing) and asking to step up. Headscratches are a completely different hand gesture - relaxed but closed hand with index and thumb closing and opening quickly or a finger wiggle - my bird learned that this is a headscratch. See what works for you.
And please please don't touch your bird or ask anything while it's eating. No animal likes it. If the bird is eating, let it be. Don't even attempt to pet, not even the cuddliest birds like that. You have to see if the bird wants to interact or not. If the bird is avoiding your hand, give it a break, it just doesn't feel like being pet or held at that moment. Pressing and chasing could result in biting which is hard to correct. Rather stay at the part where the bird avoids rather than bites. If you already offered him food, it mean it's breakfast - I know I would bite my partner's fingers off if he offers me some nice ham and eggs, already got my stomach rumbling and then asking me to do things or just simply keeping me away from the food because he wants to cuddle. Heck no, give me my food!
Have an aim what you want to do with the bird. Stepping up - do you want to actively train him now or just replace him somewhere? In the first video what you've shown is a good example where the bird is like "nah I don't wanna step up, why would I step up". In the end you proceed to pet him while he's trying to wiggle his head away somehow. try to be gentle and slow while giving headscratches. You will know if the bird is enjoying it by puffing up the head feathers, even having closed eyes. Rubbing around the ears/cheeks can result him in yawning, then you really know you hit the spot. Take it slow with your friend. If you really want to cuddle him, try in the evenings when he is relaxed. See what he likes!