Why did she fall at Peter's feet? Because she was standing near him. And she was standing near him so that, if she wished to repent and confess her transgression, she could do so without being ashamed before outsiders, who would otherwise have heard her confession. They no longer take precautions, by force of the law, against touching unclean objects, but directly and without any caution touched the dead. Pay attention also to the fact that among their own the apostles are strict, but among outsiders they refrain from punishments; both are natural. The latter was necessary so that people would... not think that they compel people by fear of punishment against their will to turn to the true faith, and the former was necessary so that those who had already turned to the faith and been deemed worthy of heavenly teaching and spiritual grace would not be allowed to become contemptible people and sacrilegious, and especially in the beginning, because this would have served as an occasion for the reproach of their preaching.
Source: Commentary on Acts