At one time there was no difference between a Preface and a Foreword.
Preface was the Latinate term, foreword the Anglo-Saxon one, for a brief opening comment about a book’s purpose.
Now, many consider an author’s introductory comment to be the preface, and anyone else’s comment to be the foreword.